﻿using System;
using System.Data;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class UserControls_Gallery_List :bzUCBase
{
    public DataTable dt = new DataTable();
    public DataTable dtHot = new DataTable();
    public DataTable _dt = new DataTable();
    protected void Page_Load(object sender, EventArgs e)
    {
        this.initSiteLang(bzSiteOption.Group.Limit, bzSiteOption.Note.Gallery, bzLang.Note_Gallery);
        dt = new bzGallery().getTable("","1","1","1","-1");
        dtHot = new bzGallery().getTable("","1","0","0","1");
        int limit = Convert.ToInt32(this.SiteOption["LimitItem_Gallery"]);
        long total = new bzGallery().getTotal("", "1","0");
        this.loadPaginationReplaceURL(total, limit, bzStringClass.Root + "hinh-anh-hoat-dong");
        _dt = new bzGallery().getTable("", "1", this.PageNum.ToString(), limit.ToString(),"0");
    }
}
